package org.edu.modules.stu.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-学生学籍审核
 */
@TableName("ve_stu_xj_audit")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="学生学籍审核对象", description="ve_stu_xj_audit")
public class VeStuXjAudit extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "学生id")
        private Integer stuId;

    @TableField
    @ApiModelProperty(value = "学生学籍信息（序列化保存）")
    @Length(max = 65535)
        private String info;

    @TableField
    @ApiModelProperty(value = "审核状态  0=待审核   1=审核通过  2=审核不通过")
        private Integer auditStatus;
}
